package be.telio.freeagent.model;

import javax.xml.bind.annotation.*;
import java.util.ArrayList;
import java.util.List;

@XmlRootElement(name = "attachments")
@XmlAccessorType(XmlAccessType.FIELD)
public class FAAttachments implements FAEntityList
{
    @XmlElement(name = "attachment")
    private List<FAAttachment> attachments = new ArrayList<FAAttachment>();

    public List<FAAttachment> getAttachments()
    {
        return attachments;
    }

    public void setAttachments(List<FAAttachment> attachments)
    {
        this.attachments = attachments;
    }

    public String getEntityListName()
    {
        return "attachments";
    }
}
